<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>课程申报系统</title>
<link rel="stylesheet" type="text/css" media="all"
	href=<?php echo rootUrl()."style/layout_style.css";  ?> />
<link rel="stylesheet" type="text/css" media="all"
	href="<?php echo rootUrl()?>style/style_404.css" />
<link rel="stylesheet" type="text/css" media="all"
	href="<?php echo rootUrl()?>style/form.css" />
<link rel="stylesheet" type="text/css" media="all"
	href="<?php echo rootUrl()?>style/flick/jquery-ui-1.8.16.custom.css" />
<link rel="stylesheet" type="text/css" media="all"
	href="<?php echo rootUrl()?>style/statistic.css" />
<?php if(isAdmin()): ?>
<link rel="stylesheet" type="text/css" media="all"
	href="<?php echo rootUrl()?>style/admin.css" />
<?php endif;?>
<script src='<?php echo rootUrl()."js/jquery-1.7.1.js";  ?>'></script>
<script type="text/javascript"
	src="<?php echo rootUrl()?>js/jquery-ui.js"></script>
<script type="text/javascript"
	src="<?php echo rootUrl()?>js/jquery.ui.datepicker-zh-CN.js"></script>
<script src='<?php echo rootUrl()."js/layout.js";  ?>'></script>

</head>
<body>
	<div id="wrap">
		<div id='top'>
			<!--start of top-->
			<div id="top_left_border"></div>
			<div id="top_content" class="clearfix">
				<div id='logo'></div>
				<div id='refresh'>
					<a href='<?php echo urlToAction('page','home');?>'>刷新</a>
				</div>
				<div id='time_info'>
					<div id='time_tip'>当前时间：</div>
					<div id='current_time'></div>
				</div>
				<div id='logout_panel'>
					<a href='<?php echo urlToAction('user','logout');?>'>登出</a>
				</div>
				<div id='user_info'>当前用户：<?php echo $_SESSION['userinfo']['name']?></div>
			</div>
			<div id="top_right_border"></div>
		</div>
		<!--end of top-->

		<div id='center' class='clearfix'>
			<div id="left">
				<div id="left_border_top"></div>
				<div id="left_wrap">
					<?php if(isAdmin()|| isInstitue()):?>
					<div id="menu_institute">
						<!--院系可见 -->
						<div class='menu_title_wrap'>
							<div class='menu_title'>课程开设申请</div>
						</div>
						<div class="fold_menu_wrap">
							<div class="fold_menu">
								<div name="course_requestcourse">课程申请</div>
								<div name="course_requestlecture">讲座申请</div>
								<div class="default_click" name="course_viewapprovingcourses">正在处理</div>
								<div name="course_viewapprovedcourses">完成申请</div>
							</div>
						</div>

						<div class='menu_title_wrap'>
							<div class='menu_title'>师生活动申请</div>
						</div>
						<div class="fold_menu_wrap">
							<div class="fold_menu">
								<div name="activity_requestactivity">提交申请</div>
								<div name="activity_viewapprovingactivities">正在处理</div>
								<div name="activity_viewapprovedactivities">完成申请</div>
							</div>
						</div>

					</div>
					<?php endif;
					if(isSenate()||isAdmin()):?>
					<div id="menu_academic">
						<!--教务处可见 -->
						<div class='menu_title_wrap'>
							<div id="a_item_1" class='menu_title'>课程开设处理</div>
						</div>
						<div class="fold_menu_wrap">
							<div class="fold_menu">
								<div class="default_click" name="course_viewapprovingcourses">未处理</div>
								<div name="course_viewapprovedcourses">已处理</div>
								<div name="course_viewallcourses">所有申请</div>
							</div>
						</div>
						<div class='menu_title_wrap'>
							<div id="a_item_2" class='menu_title'>师生活动处理</div>
						</div>
						<div class="fold_menu_wrap">
							<div class="fold_menu">
								<div name="activity_viewapprovingactivities">未处理</div>
								<div name="activity_viewapprovedactivities">已处理</div>
								<div name="activity_viewallactivities">所有申请</div>
							</div>
						</div>
					</div>
					<?php endif;?>
					<?php if(isAdmin()):?>
					<div id="menu_admin"><!--均可见-->
						<div class='menu_title_wrap'>
							<div id="admin_panel" class='menu_title'>系统管理</div>
						</div>
						<div class="fold_menu_wrap" style="display:none">
							<div class="fold_menu">
								<div name="user_adduser">添加用户</div>
								<div name="user_adminuser">查询用户</div>
							</div>
						</div>
					</div>
					<?php endif;?>
					<div id="menu_all"><!--均可见-->
						<div class='menu_title_wrap'>
							<div id="statistic" class='menu_title'>统计查询</div>
						</div>
						<div class="fold_menu_wrap" style="display:none;">
							<div class="fold_menu">
								<div name="statistic_coursequery">酬金报表</div>
								<div name="statistic_activityquery">师生活动</div>
							</div>
						</div>
						<div id="about_us" class='menu_title'><a
							href='<?php echo urlToAction("page","about"); ?>' target='iframe'>关于我们</a>
						</div>
					</div>
				</div>
				<div id="left_border_bottom"></div>

			</div><!-- end of left -->

			<div id="content_wrap" class='clearfix'>
				<div id="content" class='clearfix'></div>
				<div id="notification" style="display: none">
					<div id="n_title"></div>
					<div id="n_content"></div>
				</div>
				<div id='preloading' style="display: none">
					<div id="preloading_logo"></div>
					<div id="preloading_content">加载中</div>
				</div>
			</div>
		</div>
		<!--end of center-->

		<div id='bottom'>
			<div id='copyright'>Copyright NanJing University 2011</div>
			<div id='friend_url'></div>
		</div>
		<!--end of bottom-->
		<!-- <iframe id='content_frame' src='<?php echo urlToAction("page","about"); ?>' width='70%' height='700px' name ='iframe'>
				</iframe> -->
	</div>
</body>
</html>